<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- 比较少用 -->
			<!-- 选择单个 -->
			<select name="abc" id="" v-model="fruit">
				<option value ="苹果">苹果</option>
				<option value ="香蕉">香蕉</option>
				<option value ="榴莲">榴莲</option>
				<option value ="葡萄">葡萄</option>
			</select>
			<h3>{{fruit}}</h3>
			<!-- 选择多个 -->
			<select name="abc" id="" v-model="fruits" multiple>
				<option value ="苹果">苹果</option>
				<option value ="香蕉">香蕉</option>
				<option value ="榴莲">榴莲</option>
				<option value ="葡萄">葡萄</option>
			</select>
			<h3>{{fruits}}</h3>
		</div>
	</body>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		const app = new Vue({
			el:'#app',
			data:{
				fruit : '苹果',
				fruits: []
			}
		})
	</script>
</html>
